# Maintainer: Stacy Harper <contact@stacyharper.net>
pkgname=pipectl
pkgver=0.3.0
pkgrel=0
pkgdesc="A simple named pipe management utility"
url="https://github.com/Ferdi265/pipectl"
license="GPL-3.0-or-later"
arch="all"
makedepends="cmake samurai"
source="https://github.com/Ferdi265/pipectl/archive/v$pkgver/pipectl-$pkgver.tar.gz"
options="!check" # no test suite

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=MinSizeRel \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
fc54c68e828d6664b7c9fc6700dc89722613fa87572ad0f36ed5e4e5604decaa40918ff856a9d541adb4bcf4e7c54e65b5f7211ea8ae9366de345b9fc6f5c748  pipectl-0.3.0.tar.gz
"
